package com.atguigu.builder;

/**
 * @author gcq
 * @Create 2020-10-03
 */
public abstract class AbstrctHouse {

    // 打地基
    public abstract void buildBasic();
    // 砌墙
    public abstract void buildWalls();
    //封顶
    public abstract void roofed();

    public void build() {
        buildBasic();
        buildWalls();
        roofed();
    }

}